﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Public.Master" CodeBehind="Default.aspx.cs"
    Inherits="SmartProject.Website.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <center>
        <table>
            <tr>
                <td>
                    Username:
                </td>
                <td align="left">
                    <asp:TextBox ID="TxtUsername" runat="server" SkinID="StandardTextBox"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="ReqTxtUsername" runat="server" ControlToValidate="TxtUsername"
                        ErrorMessage="Username is required." Display="Dynamic" />
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    Password:
                </td>
                <td align="left">
                    <asp:TextBox ID="TxtPassword" TextMode="Password" runat="server" SkinID="StandardTextBox" />
                    <asp:RequiredFieldValidator ID="ReqTxtPassword" runat="server" ControlToValidate="TxtPassword"
                        ErrorMessage="Password is required." Display="Dynamic" />
                </td>
                <td>
                    <asp:Button ID="BtnLogin" runat="server" Text="Login" Width="100px" OnClick="BtnLogin_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:Label ID="LblLoginError" runat="server" CssClass="errStyle" />
                </td>
            </tr>
        </table>
    </center>
</asp:Content>
